package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.ChargeType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChargeTypeMapper {
    long insert(ChargeType chargeType);
    long deleteByPrimaryKey(long id);
    long update(ChargeType chargeType);
    List<ChargeType> selectByPrimaryKey(long id);
    List<ChargeType> selectAll();
    List<ChargeType> findByPage(@Param("pageNum") int pageNum,
                                @Param("pageSize") int pageSize,
                                @Param("chargeType") ChargeType chargeType);
}
